package com.leo.base.event.event;

import lombok.Data;

/**
 * @ClassName OrderCreatedEvent
 * @Description
 * @Author wangss
 * @date 2020.09.20 20:18
 * @Version 1.0
 */
@Data
public class OrderCreatedEvent {

    private long orderId;
    private long userId;

    public OrderCreatedEvent(long orderId, long userId) {
        this.setOrderId(orderId);
        this.setUserId(userId);
    }
}
